package com.leinao.media.entity;

/**
 * 预置位参数
 *
 * @author zhangyu
 * @date 2021/12/2 16:28
 */
public class PresetLocationParam extends BaseDeviceParam {

    /**
     * 通道号
     */
    private Integer channel;

    /**
     * 操作云台预置点命令
     * 8:设置预置点
     * 9:清除预置点
     * 39:转到预置点
     */
    private Integer command;

    /**
     * 预置点的序号（从1开始），最多支持300个预置点
     */
    private Integer index;

    public Integer getChannel() {
        return channel;
    }

    public void setChannel(Integer channel) {
        this.channel = channel;
    }

    public Integer getCommand() {
        return command;
    }

    public void setCommand(Integer command) {
        this.command = command;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    @Override
    public String toString() {
        return "PresetLocationParam{" +
                "channel=" + channel +
                ", command=" + command +
                ", index=" + index +
                '}';
    }

}
